package cn.ayanami.blog.article.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.ayanami.blog.article.service.DemoService;
import reactor.core.publisher.Mono;

import org.springframework.beans.factory.annotation.Autowired;


@RestController
public class DemoController {
    @Autowired
    private DemoService demoService;
    
    @RequestMapping("/")
    public Mono<String> getMethodName() {
        return demoService.sayHello();
    }
    
}
